<?php if(!defined('IN_SYS')) exit('Access Denied'); ?>
<!DOCTYPE html>
<html>

<head>
    <title>{$pagetitle}</title>
    <meta charset='utf-8' />
    <meta name="keywords" content="{$keywords}" />
    <meta name="description" content="{$description}" />
    <link type="text/css" rel="stylesheet" href="/static/common/css/reset.css" />
    <link type="text/css" rel="stylesheet" href="{$templets}/style/css/footer.css" />
    <link type="text/css" rel="stylesheet" href="{$templets}/style/css/nav.css" />
    <link type="text/css" rel="stylesheet" href="{$templets}/style/css/body.css" />
    <script type="text/javascript" src="/static/common/js/jquery.js"></script>
    <script type="text/javascript" src="/static/common/js/common.js"></script>
    <script type="text/javascript" src="/static/common/js/jquery.lazyload.min.js"></script>
    <script type="text/javascript" src="/static/common/js/plus.js"></script>
    <script type="text/javascript" src="{$templets}/style/js/home.js"></script>
    <!-- include mobile_agent -->
</head>

<body>
    <!-- include header -->
    <!--栏目导航-->
    <div class="sitenav">
        <div class="wrap cl"> <a href="/" {if 'index'==$current} class="cur" {/if}>首页</a>
            <!-- foreach $sitenav --><a href="/{$ename}" {if $ename==$current} class="cur" {/if}>{$title}</a>
            <!-- /foreach -->
        </div>
    </div>
    <div class="page_main">
        <div class="wrap">
            <div class="page_breadcrumb cl"> <a href="/" class="home_ico">{$yuming_website[sitename]}</a> “{$keyword}”的搜索结果 </div>
            <div class="cl">
                <!--左侧导航-->
                <div class="page_left_nav ">
                    <ul>
                        <li class="home"><a href="/{$current}/news">最新</a></li>
                        <li class="hot "><a href="/{$current}/hot">热点</a></li>
                        <li class="tuwen"><a href="/{$current}/tu">图文</a></li>
                    </ul>
                </div>
                <div class="page_center page_arclist">
                    <!--foreach tag::arclist("keyword=$keyword&row=20",true) -->
                    <!-- if $imglist -->
                    <div class="cl list_title">
                        <div class="tit"><a href="{$url}" target="_blank">{$title}</a></div>
                        <div class="date">{$sitenav[$class]['title']} &nbsp;&middot;&nbsp; {date('Y-m-d H:i',$addtime)} </div>
                        <a class="imglist cl" href="{$url}" target="_blank">
                            <!-- foreach $imglist $p --><span class="fl small"><img src="/static/common/images/nopic.png"  data-original="{$p}" /></span>
                            <!-- /foreach -->
                        </a>
                        <div class="desc_txt">{cut($description,150,'...')}</div>
                    </div>
                    <!-- else -->
                    <div class="cl list_title">
                        <div class="fl big"> <a href="{$url}" target="_blank"><img src="/static/common/images/nopic.png"  data-original="{$thumb}" /></a> </div>
                        <div class="fl descr">
                            <div class="tit"><a href="{$url}" target="_blank">{$title}</a></div>
                            <div class="desc_txt">{cut($description,150,'...')}</div>
                        </div>
                        <div class="time"> {date('Y-m-d H:i',$addtime)} </div>
                    </div>
                    <!-- /if -->
                    <!-- /foreach -->
                    <div class="page_link">{tag::pagelink()}</div>
                </div>
                <!--右侧广告位-->
                <div class="page_right">
                    <div class="ta cl">
                        <!--标签-->
                        <div class="tag">
                            <div class="tag1">标签</div>
                            <div class="tagcon  cl">
                                <ul>
                                    <!--foreach tag::tags(20)-->
                                    <li class="tagi fl"> <a class="tagi{$__i}" href="/tags/{$id}">{$tagsname}</a> </li>
                                    <!--/foreach-->
                                </ul>
                            </div>
                        </div>
                        <div class="bbl cl">
                            <!-- tag::ad(1) -->
                        </div>
                        <div class="tag">
                            <div class="tag1">热门文章</div>
                            <div class="arthot cl">
                                <ul>
                                    <!-- foreach tag::arclist("flag=c&row=10")-->
                                    <!-- if $index<=3 -->
                                    <li class="red"> <a href="{$url}" target="_blank">{$title}</a> </li>
                                    <!-- else -->
                                    <li class="gray"> <a href="{$url}" target="_blank">{$title}</a> </li>
                                    <!-- /if -->
                                    <!-- /foreach-->
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- include footer -->
    <script>
    //高亮显示关键字
    $(".tit").each(function() {
        var name = $("#key").val();
        name = name.replace(/\s+/g,'');
        if (name) {
            var myHtml = $(this).html();
            var rex = new RegExp(name, 'g');
            var t = myHtml.replace(rex, "<span class='gaol'>" + name + "</span>");
            $(this).html(t);
        }
    })
    $(function() {
        $("img").lazyload({
            effect: "fadeIn",
            threshold: 200,
            placeholder: '/static/common/images/nopic.png',
        });
    });
    </script>
</body>
<!-- include jumpscript -->
</html>